package com.by.course.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.by.course.entity.base.BaseResult;
import com.by.course.entity.bo.BaseLessonReview;
import com.by.course.entity.vo.lessonreview.req.AddBaseLessonReviewVO;
import com.by.course.entity.vo.lessonreview.req.DeleteBaseLessonReviewVO;
import com.by.course.entity.vo.lessonreview.req.GetBaseLessonReviewVO;
import com.by.course.entity.vo.lessonreview.req.UpdateBaseLessonReviewVO;
import com.by.course.entity.vo.lessonreview.resp.BaseLessonReviewResultVO;

import java.util.List;

public interface BaseLessonReviewService extends IService<BaseLessonReview> {

    BaseResult<List<BaseLessonReviewResultVO>> queryLessonReview(GetBaseLessonReviewVO vo);

    BaseResult<String> createEvaluate(AddBaseLessonReviewVO vo);

    BaseResult<String> updateEvaluate(UpdateBaseLessonReviewVO vo);

    BaseResult<String> deleteEvaluate(DeleteBaseLessonReviewVO vo);

    BaseResult<BaseLessonReviewResultVO> getEvaluateByTeacher(GetBaseLessonReviewVO vo);

    BaseResult<List<BaseLessonReviewResultVO>> listEvaluateByTeacher(GetBaseLessonReviewVO vo);
}
